.mask{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #F7F7F7;
}

.mask::before{
	content: '';
	background-image: linear-gradient(139deg, #fb8817, #ff4b01, #c12127, #e02aff);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 10px;
	z-index: 9999;
}

.login_box{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 50px;
	padding: 20px;
	background-color: #fff;
	border-radius: 20px;
	width: 400px;
	box-shadow: -1px 9px 20px 0px #ccc;
}

.login_box .titles{
	display: flex;
	height: 25px;
	justify-content: space-around;
	align-items: center;
	margin-bottom: 15px;
}

.login_box .titles div{
	border-bottom: 2px solid transparent;
	padding: 0 15px 5px 15px;
}

.login_box .titles div.tactive{
	border-bottom-color: red;
	color: red;
}

@keyframes textAni {
	0%{
		width: 0ch;
	}
	100%{
		width: 22ch;
	}
}

.mask h2{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 12px;
	font-size: 30px;
	width: 0ch;
	height: 35px;
	overflow: hidden;
	font-family: monospace;
	animation: textAni 4s steps(11) infinite normal forwards;
}

.login .bear{
	background-color: #dddddd;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	margin: 30px auto 20px auto;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.login .bear:hover .bear_eye{
	background-image: url(../../image/mouth.png);
}

.login .bear>img{
	position: absolute;
	top: 35px;
	animation: bearMove 3.5s linear infinite alternate;
}

.login .bear .bear_eye{
	content: '';
	background-image: url(../../image/eye.png);
	position: absolute;
	display: inline-block;
	background-size: 100% 100%;
	z-index: 3;
	top: calc(50% + 50px);
	width: 60px;
	background-repeat: no-repeat;
	height: 30px;
	left: 50%;
	transform: translate(-50%,-50%);
	animation: bearEyeMove 3.5s linear infinite alternate;
}

@keyframes bearEyeMove {
	0%{
		transform: translate(-50%,-50%) rotate(-4deg) ;
	}
	50%{
		transform: translate(-50%,-50%) rotate(4deg) ;
	}
	100%{
		transform: translate(-50%,-50%) rotate(-4deg) ;
	}
}

@keyframes bearMove {
	0%{
		transform: rotate(-4deg);
	}
	50%{
		transform: rotate(4deg);
	}
	100%{
		transform: rotate(-4deg);
	}
}

.login input{
	display: inline-block;
	border:1px solid #ccc;
	margin: 10px 0;
	width: 100%;
	height: 40px;
	font-size: 16px;
	padding-left: 15px;
	border-radius: 5px;
}

.register input:focus{
	border-color: red;
}

.register input::placeholder{
	color: #ccc;
}

.register select,.register input{
	display: inline-block;
	border:1px solid #ccc;
	width: 100%;
	height: 40px;
	outline: 0;
	margin: 10px 0;
	font-size: 16px;
	border-radius: 5px;
	padding-left: 15px;
}

.register textarea{
	display: inline-block;
	width: 100%;
	height: 80px;
	margin: 10px 0;
	border:1px solid #ccc;
	resize: none;
	border-radius: 5px;
	outline: 0;
	font-size: 16px;
	text-indent: 1em;
	padding-top: 5px;
}

.register .img{
	width: 100px;
	height: 100px;
	border: 1px solid #ccc;
	border-radius: 10px;
	margin-top: 10px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.register .img::before{
	width: 2px;
	height: 20px;
	background-color: #ccc;
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
}

.register .img::after{
	width: 20px;
	height: 2px;
	background-color: #ccc;
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
}

.register .img img{
	width: 100%;
	height: 100%;
	cursor: pointer;
	position: relative;
	z-index: 100;
}

.login input:focus,.register textarea:focus{
	border-color: red;
}

.login input::placeholder,.register textarea::placeholder{
	color: #ccc;
}

.login .btn,.register .btn{
	margin: 0 auto;
	width: 120px;
	text-align: center;
	height: 40px;
	line-height: 40px;
	background-color: red;
	color: #fff;
	border-radius: 20px;
	margin-top: 15px;
	cursor: pointer;
}